﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace JPCloudPrinter {

    public delegate void PrintDocumentDelegate(Dictionary<string,object> dict);

    public class PrinterObject {
        public event PrintDocumentDelegate PrintDocumentEvent;

        public void PrintDocument(Dictionary<string, object> dict)
        {
            if (PrintDocumentEvent!=null)
            {
                PrintDocumentEvent(dict);
            }
        }
    }
}
